package cn.iocoder.yudao.module.cmt.controller.admin.content.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.math.BigDecimal;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - PostCategory新增/修改 Request VO")
@Data
public class ContentPostCategorySaveReqVO {

    @Schema(description = "分类ID", example = "1")
    private Long id;

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户ID", example = "1")
    private Long merchantId;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "示例")
    @NotBlank(message = "分类名称不能为空")
    private String name;

    @Schema(description = "分类编码", example = "示例")
    private String code;

    @Schema(description = "父分类ID", example = "1")
    private Long parentId;

    @Schema(description = "分类图标", example = "示例")
    private String icon;

    @Schema(description = "封面图片", example = "示例")
    private String coverImage;

    @Schema(description = "分类描述", example = "示例")
    private String description;

    @Schema(description = "排序", example = "1")
    private Integer sort;


}
